import Vue from 'vue'
import VueRouter from 'vue-router'
import Download from '../views/Download/DownloadIndex'
import Index from '../views/index'
import Personalcenter from '../views/Personalcenter/personalcenter'
import Teachingcenter from '../views/Contentswitch/Teachingcenter'
import How from '../views/Contentswitch/LeCeCon/Myschedule'
import Appointment from '../views/Contentswitch/LeCeCon/AppointmentClass'
import Haveseen from '../views/Contentswitch/LeCeCon/Haveseen'
import Catbalance from "../views/Contentswitch/LeCeCon/Catbalance"
import Catcoindetails from "../views/Contentswitch/LeCeCon/Catcoindetails"
import Authenticationmanagement from "../views/Contentswitch/LeCeCon/Authenticationmanagement"
import Helplearncard from '../views/Contentswitch/LeCeCon/Helplearncard'
import Liveclassroom from "../views/Contentswitch/LeCeCon/Liveclassroom"
import Themenberce from "../views/Contentswitch/LeCeCon/Themenberce"
import Getgift from "../views/Contentswitch/LeCeCon/Getgift"
import Sendgift from '../views/Contentswitch/LeCeCon/Sendgift'
import Contributionlist from "../views/Contentswitch/Personalcenterlist/gift/Contributionlist"
import Platformcontributionlist from "../views/Contentswitch/LeCeCon/Platformcontributionlist"
import Platformincome from "../views/Contentswitch/LeCeCon/Platformincome"
import LiveclassroomDetial from '../views/LiveclassroomDetial/LiveclassroomDetial'
import Realnameauthentication from '../views/Contentswitch/LeCeCon/Realnameauthentication'
import Theidentityauthentication from '../views/Contentswitch/LeCeCon/Theidentityauthentication'
import privateEducationCertification from '../views/Contentswitch/LeCeCon/privateEducationCertification'
import agencyCertification from '../views/Contentswitch/LeCeCon/agencyCertification'
import Studentteacher from '../views/Contentswitch/LeCeCon/Studentteacher'
import Myfriend from '../views/Contentswitch/Personalcenterlist/Myfriend'//我的朋友

//我的收益
import myProfit from '../views/Contentswitch/Personalcenterlist/myProfit'

//导航的页面
import Liveclassrooms from '../views/Contentswitch/Liveclassroom'
import LiveScene from '../views/Contentswitch/LiveScene'
import Learningcenter from '../views/Contentswitch/Learningcenter'
import Teachingcenters from '../views/Contentswitch/Teachingcenter'
import Detailsclassroom from '../views/Contentswitch/Detailsclassroom'
//教学中心的页面
import Livelectureinstructor from '../views/Contentswitch/TeachingCenter/Teaching/Livelectureinstructor'
//我的课程
import Teachcourse from '../views/Contentswitch/TeachingCenter/course/Teachcourse'
import Historytimetable from '../views/Contentswitch/TeachingCenter/course/Historytimetable'
import Createcourse from '../views/Contentswitch/TeachingCenter/course/Createcourse'
import Modifyprogram from '../views/Contentswitch/TeachingCenter/course/Modifyprogram'
import Personaltrainingtocreate from '../views/Contentswitch/TeachingCenter/course/Personaltrainingtocreate'
import Reviseprivateteachingcurriculum from '../views/Contentswitch/TeachingCenter/course/Reviseprivateteachingcurriculum'
import Teachingcentercoursedetails from '../views/Contentswitch/TeachingCenter/Teaching/Teachingcentercoursedetails'
import Teachersdetails from '../views/Contentswitch/TeachingCenter/Teaching/Teachersdetails'
import Createprivateinstructor from '../views/Contentswitch/TeachingCenter/course/Createprivateinstructor'//创建私教课程

import Voicebroadcast from '../views/Voicebroadcast/Voicebroadcast'//老师端语音直播间
import LivevideoRoom from '../views/LivevideoRoom/LivevideoRoom'//老师端视频直播间

import StudentbroadcastVideproom from '../views/LivevideoRoom/StudentbroadcastVideproom'//学生端视频直播间
import Studentvoice from '../views/Voicebroadcast/Studentvoice'//学生端语音
import Liveplayback from '../views/Liveplayback/Liveplayback'//直播回放
//我的圈子页面
import Mydynamic from '../views/Contentswitch/TeachingCenter/Mycircle/Mydynamic'
import Myphotoalbum from '../views/Contentswitch/TeachingCenter/Mycircle/Myphotoalbum'
//消息页面
import viewsmessages from '../views/Contentswitch/TeachingCenter/Message/viewsmessages'
//直播课程点卡购买
import Livebroadcastcardpurchase from '../views/Contentswitch/shop/Livebroadcastcardpurchase'
import Pointcard from '../views/Contentswitch/shop/Pointcard'

//助学师课程购买
import buyHelpLearnCard from '../views/Contentswitch/shop/buyHelpLearnCard'

//个人中心的页面
import Personalschedule from '../views/Contentswitch/Personalcenterlist/Personalschedule'
import Mynews from '../views/Contentswitch/Personalcenterlist/Mynews'
import Modifydata from '../views/Contentswitch/Personalcenterlist/Modifydata'//个人信息修改
import Classdetails from '../views/Contentswitch/Personalcenterlist/Classdetails'//直播课堂班级详情
import Tomakeanappointmentcourse from '../views/Contentswitch/Personalcenterlist/Tomakeanappointmentcourse'//预约课程
import Bookingliveprogrammes from '../views/Contentswitch/Personalcenterlist/Bookingliveprogrammes'//订阅课程
import Booksijiao from '../views/Contentswitch/Personalcenterlist/Booksijiao' //预约私教
import Chat from '../views/Contentswitch/TeachingCenter/Message/Chat'//聊天页面

import ClassRoomInfo from '../views/Contentswitch/ClassRoom/ClassRoomInfo'//直播课堂
import SceneRoomInfo from '../views/Contentswitch/ClassRoom/SceneRoomInfo'//场景直播
import Buycatcurrency from '../views/Contentswitch/shop/Buycatcurrency'//购买猫币
import Agencdetails from '../views/Agencdetails/Agencdetails'//机构详情
import Listofinstitutions from '../views/Agencdetails/Listofinstitutions'
import OrganizationManagementCenter from '../views/Agencdetails/OrganizationManagementCenter'//机构管理中心

import addcurse from '../views/Agencdetails/addcurse'//添加机构课程
import addteacher from '../views/Agencdetails/addteacher'//添加机构老师
import sijiaoList from '../views/sijiaoList/sijiaoList' //私教
import Modifymechanisminformation from '../views/Agencdetails/Modifymechanisminformation'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'index',
    component: Index,
    meta: {
      title: '外教超市',
      // keepAlive: true, // 需要被缓存
    }
  },
  {
    path: '/views/Download/',
    name:'Download',
    component:Download
  },
  {
    path: '/views/Personalcenter',
    name :'Personalcenter',
    component:Personalcenter,
    props: true,
    children: [
      {
        path:'/views/Liveclassroom',
        component:Liveclassrooms,
        children:[
          {//我的收益
            path: '/views/Liveclassrooms/myProfit',
            component: myProfit,
          },
          {
            path:'/views/Liveclassroom/ClassRoomInfo',
            component:ClassRoomInfo,
          },
          {//我的课程表
            path: '/views/Liveclassrooms/Personalschedule',
            component: Personalschedule,
          },
          {//历史课程
            path: '/views/Liveclassrooms/Haveseen',
            component: Haveseen,
          },
          {//猫币余额
            path: '/views/Liveclassrooms/Catbalance',
            component: Catbalance,
          },
          {//猫币明细
            path: '/views/Liveclassrooms/Catcoindetails',
            component: Catcoindetails,
          },
          {//认证管理
            path: '/views/Liveclassrooms/Authenticationmanagement',
            component: Authenticationmanagement,
          },
          {//猫币购买
            path: '/views/Liveclassrooms/Buycatcurrency',
            component:Buycatcurrency
          },
          {//实名认证
            path: '/views/Liveclassrooms/Realnameauthentication',
            component: Realnameauthentication,
          },
          {//身份认证
            path: '/views/Liveclassrooms/Theidentityauthentication',
            component: Theidentityauthentication,
          },
          {//私教认证
            path:'/views/Liveclassrooms/privateEducationCertification',
            component: privateEducationCertification,
          },
          {//机构认证
            path:'/views/Liveclassrooms/agencyCertification',
            component: agencyCertification,
          },
          {//助学师认证
            path:'/views/Liveclassrooms/Studentteacher',
            component:Studentteacher
          },
          {//助学师学习卡
            path: '/views/Liveclassrooms/Helplearncard',
            component: Helplearncard,
          },
          {//直播课堂讲师课堂详情
            path:'/views/Liveclassrooms/Teachingcentercoursedetails',
            name:'Teachingcentercoursedetails',
            component:Teachingcentercoursedetails
          },
          {//直播讲师学习卡
            path: '/views/Liveclassrooms/Liveclassroom',
            component: Liveclassroom,
          }, 
          {//会员中心
            path: '/views/Liveclassrooms/Themenberce',
            component: Themenberce,
          },
          {//收到的礼物
            path: '/views/Liveclassrooms/Getgift',
            component: Getgift,
          },
          {//送出的礼物
            path: '/views/Liveclassrooms/Sendgift',
            component: Sendgift,
          },
          {//贡献榜
            path: '/views/Liveclassrooms/Contributionlist',
            component: Contributionlist,
          },
          {//平台收入榜
            path: '/views/Liveclassrooms/Platformcontributionlist',
            component: Platformcontributionlist,
          },
          {//平台贡献榜
            path: '/views/Liveclassrooms/Platformincome',
            component: Platformincome,
          },
          {//我的圈子页面
            path:'/views/Liveclassrooms/Mydynamic',
            component:Mydynamic
          },
          {//我的相册
            path:'/views/Liveclassrooms/Myphotoalbum',
            component:Myphotoalbum
          },
          {//我的朋友页面
            path:'/views/Liveclassrooms/Myfriend',
            component:Myfriend
          },
          {//个人信息修改
            path:'/views/Liveclassrooms/Modifydata',
            component:Modifydata
          },
          {//机构管理中心
            path:'/views/Liveclassrooms/OrganizationManagementCenter',
            component:OrganizationManagementCenter
          },
          {//修改机构信息
            path:'/views/Liveclassrooms/Modifymechanisminformation',
            component:Modifymechanisminformation
          },
          {//添加在售课程
            path:'/views/Liveclassrooms/addcurse',
            component:addcurse
          },
          {//添加机构老师
            path:'/views/Liveclassrooms/addteacher',
            component:addteacher
          },
        ]
      },
      { 
        path:'/views/LiveScene',
        component:LiveScene,
        children:[
          {//我的收益
            path: '/views/LiveScene/myProfit',
            component: myProfit,
          },
          {//猫币购买
            path: '/views/LiveScene/Buycatcurrency',
            component:Buycatcurrency
          },
          {
            path:'/views/LiveScene/SceneRoomInfo',
            component:SceneRoomInfo,
          },
          {//我的课程表
            path: '/views/LiveScene/Personalschedule',
            component: Personalschedule,
          },
          {//历史课程
            path: '/views/LiveScene/Haveseen',
            component: Haveseen,
          },
          {//猫币余额
            path: '/views/LiveScene/Catbalance',
            component: Catbalance,
          },
          {//猫币明细
            path: '/views/LiveScene/Catcoindetails',
            component: Catcoindetails,
          },
          {//认证管理
            path: '/views/LiveScene/Authenticationmanagement',
            component: Authenticationmanagement,
          },
          {//实名认证
            path: '/views/LiveScene/Realnameauthentication',
            component: Realnameauthentication,
          },
          {//身份认证
            path: '/views/LiveScene/Theidentityauthentication',
            component: Theidentityauthentication,
          },
          {//私教认证
            path: '/views/LiveScene/privateEducationCertification',
            component: privateEducationCertification,
          },
          {//机构认证
            path:'/views/LiveScene/agencyCertification',
            component: agencyCertification,
          },
          {//助学师认证
            path:'/views/LiveScene/Studentteacher',
            component:Studentteacher
          },
          {//助学师学习卡
            path: '/views/LiveScene/Helplearncard',
            component: Helplearncard,
          },
          {//直播讲师学习卡
            path: '/views/LiveScene/Liveclassroom',
            component: Liveclassroom,
          }, 
          {//会员中心
            path: '/views/LiveScene/Themenberce',
            component: Themenberce,
          },
          {//收到的礼物
            path: '/views/LiveScene/Getgift',
            component: Getgift,
          },
          {//送出的礼物
            path: '/views/LiveScene/Sendgift',
            component: Sendgift,
          },
          {//贡献榜
            path: '/views/LiveScene/Contributionlist',
            component: Contributionlist,
          },
          {//平台收入榜
            path: '/views/LiveScene/Platformcontributionlist',
            component: Platformcontributionlist,
          },
          {//平台贡献榜
            path: '/views/LiveScene/Platformincome',
            component: Platformincome,
          }, 
          {//我的圈子页面
            path:'/views/LiveScene/Mydynamic',
            component:Mydynamic
          },
          {//个人信息修改
            path:'/views/LiveScene/Modifydata',
            component:Modifydata
          }, 
          {//我的朋友页面
            path:'/views/LiveScene/Myfriend',
            component:Myfriend
          },
          {
            path:'/views/LiveScene/Myphotoalbum',
            component:Myphotoalbum
          },
          {
            path:'/views/LiveScene/Teachcourse',
            component:Teachcourse
          },
          {
            path:'/views/LiveScene/Historytimetable',
            component:Historytimetable
          },
          {
            path:'/views/LiveScene/Livebroadcastcardpurchase',
            component:Livebroadcastcardpurchase
          },
          {
            path:'/views/LiveScene/Pointcard',
            component:Pointcard
          },
          {//机构管理中心
            path:'/views/LiveScene/OrganizationManagementCenter',
            component:OrganizationManagementCenter
          },
          {//修改机构信息
            path:'/views/LiveScene/Modifymechanisminformation',
            component:Modifymechanisminformation
          },
          {//添加在售课程
            path:'/views/LiveScene/addcurse',
            component:addcurse
          },
          {//添加机构老师
            path:'/views/LiveScene/addteacher',
            component:addteacher
          },
        ]
      },
      { 
        path:'/views/Learningcenter',
        component:Learningcenter,
        children:[
          {//我的收益
            path: '/views/Learningcenter/myProfit',
            component: myProfit,
          },
          {//猫币购买
            path: '/views/Learningcenter/Buycatcurrency',
            component:Buycatcurrency
          },
          {//我的课程表
            path:'/views/Learningcenter/Personalschedule',
            component:Personalschedule
          },
          {//直播讲师学习卡购买
            path:'/views/Learningcenter/Livebroadcastcardpurchase',
            component:Livebroadcastcardpurchase
          },
          {
            path:'/views/Learningcenter/Pointcard',
            component:Pointcard
          },
          {//助学师学习卡购买
            path:'/views/Learningcenter/buyHelpLearnCard',
            component:buyHelpLearnCard
          },
          {//预约课程
            path: '/views/Learningcenter/AppointmentClass',
            component: Appointment,
          },
          {//消息页面
            path: '/views/Learningcenter/Chat',
            component: Chat,
          },
          {//我的课程表预约课程
            path:'/views/Learningcenter/Tomakeanappointmentcourse',
            component:Tomakeanappointmentcourse
          },
          {//直播课堂讲师订阅课程
            path:'/views/Learningcenter/Bookingliveprogrammes',
            component:Bookingliveprogrammes,
          },
          {//私教预约私教
            path:'/views/Learningcenter/Booksijiao',
            component:Booksijiao,
          },
          {//历史课程
            path: '/views/Learningcenter/Haveseen',
            component: Haveseen,
          },
          {//猫币余额
            path: '/views/Learningcenter/Catbalance',
            component: Catbalance,
          },
          {//猫币明细
            path: '/views/Learningcenter/Catcoindetails',
            component: Catcoindetails,
          },
          {//认证管理
            path: '/views/Learningcenter/Authenticationmanagement',
            component: Authenticationmanagement,
          },
          {//实名认证
            path: '/views/Learningcenter/Realnameauthentication',
            component: Realnameauthentication,
          },
          {//身份认证
            path: '/views/Learningcenter/Theidentityauthentication',
            component: Theidentityauthentication,
          },
          {//私教认证
            path: '/views/Learningcenter/privateEducationCertification',
            component: privateEducationCertification,
          },
          {//机构认证
            path:'/views/Learningcenter/agencyCertification',
            component: agencyCertification,
          },
          {//助学师认证
            path:'/views/Learningcenter/Studentteacher',
            component:Studentteacher
          },
          {//助学师学习卡
            path: '/views/Learningcenter/Helplearncard',
            component: Helplearncard,
          },
          {//直播讲师学习卡
            path: '/views/Learningcenter/Liveclassroom',
            component: Liveclassroom,
          }, 
          {//会员中心
            path: '/views/Learningcenter/Themenberce',
            component: Themenberce,
          },
          {//收到的礼物
            path: '/views/Learningcenter/Getgift',
            component: Getgift,
          },
          {//送出的礼物
            path: '/views/Learningcenter/Sendgift',
            component: Sendgift,
          },
          {//贡献榜
            path: '/views/Learningcenter/Contributionlist',
            component: Contributionlist,
          },
          {//平台收入榜
            path: '/views/Learningcenter/Platformcontributionlist',
            component: Platformcontributionlist,
          },
          {//平台贡献榜
            path: '/views/Learningcenter/Platformincome',
            component: Platformincome,
          },
          {//我的消息页面
            path:'/views/Learningcenter/Mynews',
            component:Mynews
          },
          {//我的朋友页面
            path:'/views/Learningcenter/Myfriend',
            component:Myfriend
          },
          {//个人信息修改
            path:'/views/Learningcenter/Modifydata',
            name:'Modifydata',
            component:Modifydata
          },  
          {//我的圈子页面
            path:'/views/Learningcenter/Mydynamic',
            component:Mydynamic
          },
          {//我的相册
            path:'/views/Learningcenter/Myphotoalbum',
            component:Myphotoalbum
          },
          {
            path:'/views/Learningcenter/Teachingcenter',
            component:Teachingcenter
          },
          {//直播课堂班级详情
            path:'/views/Learningcenter/Classdetails',
            name:'Classdetails',
            component:Classdetails
          },
          {//直播课堂讲师课堂详情
            path:'/views/Learningcenter/Teachingcentercoursedetails',
            component:Teachingcentercoursedetails
          },
          {//机构管理中心
            path:'/views/Learningcenter/OrganizationManagementCenter',
            component:OrganizationManagementCenter
          },
          {//添加在售课程
            path:'/views/Learningcenter/addcurse',
            component:addcurse
          },
          {//修改机构信息
            path:'/views/Learningcenter/Modifymechanisminformation',
            component:Modifymechanisminformation
          },
          {//添加机构老师
            path:'/views/Learningcenter/addteacher',
            component:addteacher
          },
        ]
      },
      { 
        path:'/views/Teachingcenters',
        component:Teachingcenters,
        name:'Teachingcenters',
        children:[
          {//我的收益
            path: '/views/Teachingcenters/myProfit',
            component: myProfit,
          },
          {//猫币购买
            path: '/views/Teachingcenters/Buycatcurrency',
            component:Buycatcurrency
          },
          {//我的课程表
            path: '/views/Teachingcenters/Myschedule',
            component: How,
          },
          {//预约课程
            path: '/views/Teachingcenters/AppointmentClass',
            component: Appointment,
          },
          {//创建私教课程
            path: '/views/Teachingcenters/Createprivateinstructor',
            component: Createprivateinstructor,
          },
          {//历史课程
            path: '/views/Teachingcenters/Haveseen',
            component: Haveseen,
          },
          {//猫币余额
            path: '/views/Teachingcenters/Catbalance',
            component: Catbalance,
          },
          {//猫币明细
            path: '/views/Teachingcenters/Catcoindetails',
            component: Catcoindetails,
          },
          {//直播课堂班级详情
            path:'/views/Teachingcenters/Classdetails',
            name:'Classdetails',
            component:Classdetails
          },
          {//认证管理
            path: '/views/Teachingcenters/Authenticationmanagement',
            component: Authenticationmanagement,
          },
          {//实名认证
            path: '/views/Teachingcenters/Realnameauthentication',
            component: Realnameauthentication,
          },
          {//身份认证
            path: '/views/Teachingcenters/Theidentityauthentication',
            component: Theidentityauthentication,
          },
          {//私教认证
            path: '/views/Teachingcenters/privateEducationCertification',
            component: privateEducationCertification,
          },
          {//机构认证
            path:'/views/Teachingcenters/agencyCertification',
            component: agencyCertification,
          },
          {//助学师认证
            path:'/views/Teachingcenters/Studentteacher',
            component:Studentteacher
          },
          {//助学师学习卡
            path: '/views/Teachingcenters/Helplearncard',
            component: Helplearncard,
          },
          {//直播讲师学习卡
            path: '/views/Teachingcenters/Liveclassroom',
            component: Liveclassroom,
          }, 
          {//会员中心
            path: '/views/Teachingcenters/Themenberce',
            component: Themenberce,
          },
          {//收到的礼物
            path: '/views/Teachingcenters/Getgift',
            component: Getgift,
          },
          {//送出的礼物
            path: '/views/Teachingcenters/Sendgift',
            component: Sendgift,
          },
          {//贡献榜
            path: '/views/Teachingcenters/Contributionlist',
            component: Contributionlist,
          },
          {//平台收入榜
            path: '/views/Teachingcenters/Platformcontributionlist',
            component: Platformcontributionlist,
          },
          {//平台贡献榜
            path: '/views/Teachingcenters/Platformincome',
            component: Platformincome,
          },  
          {//我的圈子页面
            path:'/views/Teachingcenters/Mydynamic',
            component:Mydynamic
          },
          {//我的相册
            path:'/views/Teachingcenters/Myphotoalbum',
            component:Myphotoalbum
          },
          {//系统教学中心消息页
            path:'/views/Teachingcenters/viewsmessages',
            component:viewsmessages
          },
          {//个人信息修改
            path:'/views/Teachingcenters/Modifydata',
            component:Modifydata
          },
          {//我的朋友页面
            path:'/views/Teachingcenters/Myfriend',
            component:Myfriend
          },
          {//直播课堂创建课程
            path:'/views/Teachingcenters/Createcourse',
            component:Createcourse
          },
          {//修改课程
            path:'/views/Teachingcenters/Modifyprogram',
            component:Modifyprogram
          },
          {//私教创建课程
            path:'/views/Teachingcenters/Personaltrainingtocreate',
            component:Personaltrainingtocreate
          },
          {//私教修改页
            path:'/views/Teachingcenters/Reviseprivateteachingcurriculum',
            component:Reviseprivateteachingcurriculum
          },
          {//直播课堂讲师课堂详情
            path:'/views/Teachingcenters/Teachingcentercoursedetails',
            name:'Teachdetails',
            component:Teachingcentercoursedetails
          },
          {//讲师详情页
            path:'/views/Teachingcenters/Teachersdetails',
            component:Teachersdetails
          },
          {
            path:'/views/Teachingcenters/Teachingcenter',
            component:Teachingcenter
          },
          {//首页
            path:'/views/Teachingcenters/Livelectureinstructor',
            component:Livelectureinstructor
          },
          {
            path:'/views/Teachingcenters/Teachcourse',
            component:Teachcourse
          },
          {
            path:'/views/Teachingcenters/Historytimetable',
            component:Historytimetable
          },
          {
            path:'/views/Teachingcenters/Livebroadcastcardpurchase',
            component:Livebroadcastcardpurchase
          },
          {
            path:'/views/Teachingcenters/Pointcard',
            component:Pointcard
          },
          {//机构管理中心
            path:'/views/Teachingcenters/OrganizationManagementCenter',
            component:OrganizationManagementCenter
          },
          {//添加在售课程
            path:'/views/Teachingcenters/addcurse',
            component:addcurse
          },
          {//修改机构信息
            path:'/views/Teachingcenters/Modifymechanisminformation',
            component:Modifymechanisminformation
          },
          {//添加机构老师
            path:'/views/Teachingcenters/addteacher',
            component:addteacher
          },
        ],
        props: true
      },
      {//直播课堂讲师课堂详情
        path:'/views/Teachingcentercoursedetails',
        component:Detailsclassroom
      },
      {//机构列表
        path:'/views/Listofinstitutions',
        component:Listofinstitutions
      },
      {//私教列表
        path:'/views/sijiaoList',
        component:sijiaoList
      },
      {
        path:'/views/Agencdetails',
        name:'Agencdetails',
        component:Agencdetails
      }
    ],
  },
  {//机构列表
    path:'/views/Listofinstitutions',
    component:Listofinstitutions
  },
  {//进入老师端语音直播间
    path: '/views/Voicebroadcast',
    component: Voicebroadcast,
  },
  {
    path: '/views/Studentvoice',
    component: Studentvoice,
  },
  {//进入学生端语音直播间
    path: '/views/StudentbroadcastVideproom',
    component: StudentbroadcastVideproom,
  },
  {//进入视频直播间
    path: '/views/LivevideoRoom',
    component:LivevideoRoom
  },
  {//直播回放
    path:'/views/Liveplayback',
    component :Liveplayback
  },
  {
    path:'/views/LiveclassroomDetial',
    name:'LiveclassroomDetial',
    component:LiveclassroomDetial,
    props: true
  }
]

const router = new VueRouter({
  mode: 'hash',
  routes
})
export default router
